package Others.DesignPattern.BuilderPattern.Pattern.Object;

public class Director {

    private final PersonBuilder builder;

    public Director(PersonBuilder person){
        this.builder = person;
    }

    public People construct()
    {
        builder.buildHead();
        builder.buildBody();
        builder.buildArmLeft();
        builder.buildArmRight();
        builder.buildLegLeft();
        builder.buildLegRight();
        return builder.getResult();
    }


}
